package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

/**
 * 
 * @ClassName: MrqDictRulesDTO  
 * @Description ：病案首页检查规则表
 * @Date: 2018年7月26日 下午3:31:21  
 * @Author QiaoYiLong 
 * @Version 3.1.1 DHC-DRG
 */
public class MrqDictRulesDTO implements Serializable {

	private static final long serialVersionUID = 4986667717279330934L;
	
	//病案首页校验规则代码	
	private String ruleCode;
	
	//明细项目分数字典表对应的主键	
	private String detailCode;
	
	//得分权重编码	
	private String weightCode;

	//四大类检查项目编码	
	private String scoreCode;
	
	//病案首页校验规则名称	
	private String ruleName;
	
	//规则说明	
	private String ruleIntroduction;
	
	//完整性标识
	private String completeFlag;
	
	//有效标志(1是有效，0为无效)	
	private String validFlag;
	
	//首页字段名	
	private String medicalRecordField;

	public String getRuleCode() {
		return ruleCode;
	}

	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}

	public String getDetailCode() {
		return detailCode;
	}

	public void setDetailCode(String detailCode) {
		this.detailCode = detailCode;
	}

	public String getWeightCode() {
		return weightCode;
	}

	public void setWeightCode(String weightCode) {
		this.weightCode = weightCode;
	}

	public String getScoreCode() {
		return scoreCode;
	}

	public void setScoreCode(String scoreCode) {
		this.scoreCode = scoreCode;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getRuleIntroduction() {
		return ruleIntroduction;
	}

	public void setRuleIntroduction(String ruleIntroduction) {
		this.ruleIntroduction = ruleIntroduction;
	}

	public String getCompleteFlag() {
		return completeFlag;
	}

	public void setCompleteFlag(String completeFlag) {
		this.completeFlag = completeFlag;
	}

	
	
	public String getValidFlag() {
		return validFlag;
	}

	public void setValidFlag(String validFlag) {
		this.validFlag = validFlag;
	}

	public String getMedicalRecordField() {
		return medicalRecordField;
	}

	public void setMedicalRecordField(String medicalRecordField) {
		this.medicalRecordField = medicalRecordField;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ruleCode == null) ? 0 : ruleCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MrqDictRulesDTO other = (MrqDictRulesDTO) obj;
		if (ruleCode == null) {
			if (other.ruleCode != null)
				return false;
		} else if (!ruleCode.equals(other.ruleCode))
			return false;
		return true;
	}

}
